import numpy as np

a = np.array([[1, 2, 3], [4, 5, 6]])

# 查看数组的形状
print(a.shape)
# 修改数组形状
a.reshape(3, 2)
